import Vue from 'vue'
import store from './store'
import uView from '@/uni_modules/uview-ui'
// import uView from 'uview-ui'
// const mpShare = require('uview-ui/libs/mixin/mpShare.js')
// Vue.mixin(mpShare)
import App from './App'
Vue.use(uView)

console.log('run in main.js')

Vue.config.productionTip = false

const app = new Vue({
  store,
  ...App,
})

require('./utils/request/index')(app)

import _plugin from './utils/xxplugins'
Vue.use(_plugin, app)

import _mixin from './utils/mixin'
Vue.mixin(_mixin)

app.$mount()
